package com.aaa.tmr.util;

import org.apache.shiro.crypto.hash.Sha512Hash;

import java.util.UUID;

public class BussinessConstants {
    public interface userCheck{
        String AlLGORITHMNAME="SHA-512";
        Integer HASH_INTERATOR=1024;
    }
    public interface  OperBussinessType{
        Integer  ADD=1;
        Integer  UPDATE=2;
        Integer  DELETE=3;
    }

    public static void main(String[] args) {
        String salt = UUID.randomUUID().toString();
        System.out.println(salt);
        Sha512Hash sha512Hash = new Sha512Hash("tiger",salt,1024);
        System.out.println(sha512Hash.toString());
    }
}
